<h1>Compila questo form per creare un nuovo fattorino</h1>

<div class="form">
<% form_for @delivery_man, :url => { :action => "update" } do |f| %>
  <%= f.error_messages %>
  <% fields_for :account, @delivery_man.account do |form| %>
  <%= form.error_messages %>
  <%= render :partial => "accounts/form", :object => form %>
  <% end %>
  <%= render :partial => "delivery_men/form", :object => f %>
  <span class="button"><%= f.submit "Aggiorna" %></span>
  <span style="clear:both">&nbsp;</span>
<% end %>
</div>
